	<div id="cmemodetails_div" style="display:none" >
	<div id="rightside" class="full_size">
        <article>
        	<div class="domtab">
                <ul class="domtabs">
                	<li><a href="#cmemodetails_div_details">Credit Memo Detail</a></li>
                    <li><a href="#cmoHistory_details">Credit Memo History</a></li>
                    <div class="claer_div"></div>
                </ul>
                <div class="tabbing_div"><a name="cmemodetails_div_details" id="cmemodetails_div_details"></a>
                    
                        <div class="group" id="createDiv">
                            <div class="lblDivBold">Credit Memo#:</div>
                            <div class="cntrlDiv"><span id="cmemodetails_num"></span></div>
                            <div class="lblDivBold">Credit Memo Date:</div>
                            <div class="cntrlDiv"><span id="cmemodetails_date"></span></div>
                            <div class="lblDivBold">Amount:</div>
                            <div class="cntrlDiv"><span id="cmemodetails_amt"></span></div>
                            <div class="lblDivBold">&nbsp;</div>
                            <div class="cntrlDiv"><a href="javascript:void(0);" onclick="showasxml_po();">Show XML</a></div>
                        </div>
                        
                        <div class="group createDivLine" id="createDiv">
                            <div class="lblDivBold">Buyer:</div>
                            <div class="cntrlDiv"><span id="cmemo_buyer_name"></span></div>
                            <div class="lblDivBold">Supplier:</div>
                            <div class="cntrlDiv"><span id="cmemo_supp_name"></span></div>
                        </div>
                        
                        
                        
                        <div class="group createDivLine" id="createDiv">
                        	<div class="lblDivBold">Credit Memo Lines:</div>
                			<div class="cntrlDivBigAutoHeight"><div id="cmemolidetails_yui_table" class="yuidtskinnedstyle"></div></div>
                        </div>
                        
                        <div class="group createDivLine" id="createDiv">
                        	<div class="lblDivBold">Related Invoise:</div>
                			<div class="cntrlDivBigAutoHeight">
								<div id="cmemodetails_invoice_yui_table" class="yuidtskinnedstyle"></div>
								
							</div>
                        </div>
                        
                       
                        
                        <div class="group createDivLine" id="createDiv">
                            <div class="lblDivBold">Old Attachments:</div>
                            <div class="cntrlDivAutoHeight">&nbsp;
								<div id="cmemoDisplayAttachmentResponsePlaceHolder">
								<table id="cmemoDisplayattachments_table" style="border:0">
												<tbody id="cmemoDisplayattachments_tbody">
													<tr id="cmemoDisplayattachments_pattern" style="display:none;">
														<td style="border: 0;"><a id="cmemoDispalyattachments_link"></a></td>
													</tr>
												</tbody>
								</table>
								</div>
							
							</div>
							
                        </div>
                        
                        <div class="group createDivLine" id="createDiv">
                           
							<div id="attph5_hdr"> 
	                            <div class="lblDivBold">Add New Attachments:</div>
	                            <div class="cntrlDivAutoHeight"><div id="attachmentComponetPlaceHolder8"></div><br/>
	                            </div>
                            </div>
                        </div>
                        
                         <div class="group createDivLine" id="createDiv">
                            <div class="lblDivBold">Old Comments:</div>
                            <div class="cntrlDivAutoHeight">
								<div id="cmemoDisplayCommentsResponsePlaceHolder">
				
									<table id="cmemoDisplaycomments_table" style="border:0">
										<tbody id="cmemoDisplaycomments_tbody">
											<tr id="cmemoDisplaycomments_pattern" style="display:none;">
												<td style="border: 0;"><span id="cmemoDisplaycomment_text"></span></td>
											</tr>
										</tbody>
									</table>
			
								</div>
							</div>
						
                          
                        </div>
                        
                        <div class="group createDivLine" id="createDiv">
                            
                           
							<div id="attcm5_hdr"> 
                            <div class="lblDivBold">New Comments:</div>
                            <div class="cntrlDivAutoHeight"><div id="commentComponetPlaceHolder8"></div><br/>
                            </div></div>
                           <div id="cmo_updateAction"> <div class="btnDiv">
							<input type="submit" onclick="javascript:updateCreditMemo();" name="" id="" value="Update Credit Memo">
							<input type="submit" onclick="javascript:populate_creditMemo_details(sel_cmemo_obj);" name="" id="" value="Cancel"></div></div>
                        </div>
                        
                        <div class="claer_div"></div>
                   
                </div>
                <div class="tabbing_div"><a name="#cmoHistory_details" id="#cmoHistory_details"></a>
                        <div class="group" id="createDiv">
                            <div>
                                <br/>
                               <div id="po_history_yui_table" class="yuidtskinnedstyle"> </div>
                                <br/>
                                <br/>
                                <br/>
                            </div>
                        </div>
                </div>
            </div>
        </article>
    </div>
	</div>
<!--#include file="includes/footer.html"-->